package com.hxzy.order.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.hxzy.order.entity.TlLoaderUnloadLog;
import com.hxzy.order.entity.TlWaybillLog;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class WaybillVo {

    @ApiModelProperty(value = "运单编号")
    @TableId
    private String waybillId;

    @ApiModelProperty(value = "货源编号")
    private String sourceId;

    @ApiModelProperty(value = "提货编号")
    private String billOfLadingId;

    @ApiModelProperty(value = "装车磅单号")
    private String loadingScaleId;

    @ApiModelProperty(value = "车牌号")
    private String carId;

    @ApiModelProperty(value = "司机编号")
    private String driverId;

    @ApiModelProperty(value = "运单状态")
    private Integer waybillStatus;

    @TableField(exist = false)
    private String waybillStatusName;

    @ApiModelProperty(value = "签收状态")
    private Integer signingStatus;

    @TableField(exist = false)
    private String signingStatusName;

    @ApiModelProperty(value = "支付状态")
    private Integer paymentStatus;

    @TableField(exist = false)
    private String paymentStatusName;

    @ApiModelProperty(value = "货物名称")
    private String nameOfGood;

    @ApiModelProperty(value = "亏吨信息")
    private BigDecimal lossTonInformation;


    @ApiModelProperty(value = "装车站点名称")
    private String loadingSiteName;

    @ApiModelProperty(value = "装车站点位置")
    private String loadingAddress;

    @ApiModelProperty(value = "卸车站点名称")
    private String unloadingSiteName;

    @ApiModelProperty(value = "卸车站点位置")
    private String unloadingAddress;


    @ApiModelProperty(value = "运输金额")

    private BigDecimal transportationAmount;


    @ApiModelProperty(value = "运输金额")

    private BigDecimal transportationAmountShui;

    @ApiModelProperty(value = "亏吨扣费")
    private BigDecimal lossCost;

    @ApiModelProperty(value = "供应商名称")
    private String vendorName;


    @ApiModelProperty(value = "运价")
    private BigDecimal sourceFreight;

    @ApiModelProperty(value = "含税运价")
    private BigDecimal sourceFreightTax;

    @ApiModelProperty(value = "结算主体名称")
    private String settlerName;

    @ApiModelProperty(value = "时间信息")
    private TlWaybillLog logList;

    @ApiModelProperty(value = "抢单司机")
    private String driverName;


    @ApiModelProperty(value = "注册手机")
    private String driverPhone;

    @ApiModelProperty(value = "装车信息")
    private TlLoaderUnloadLog loaderInfo;

    @ApiModelProperty(value = "卸车信息")
    private TlLoaderUnloadLog UnloadInfo;





}
